package com.prometheus;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * http://localhost:8888/metrics
 * 添加@EnableScheduling注解主要是添加了定时任务，用于动态模拟数据的变化，后面会看到应用的地方。
 * @author Alan
 */
@EnableScheduling
@SpringBootApplication
public class MonitorStudy1Application {

    public static void main(String[] args) {
        SpringApplication.run(MonitorStudy1Application.class, args);
    }

}
